package me.helllp.bootman.back.mapper;

import java.util.Set;

import org.apache.ibatis.annotations.Select;

import me.helllp.bootman.back.config.BootmanMapper;
import me.helllp.bootman.back.model.SusrRole;

public interface SusrRoleMapper extends BootmanMapper<SusrRole> {
	@Select("SELECT ROLE_NAME FROM SUSR_ROLE WHERE USER_ID  = #{userId} ")
	Set<String> getUserRoles(Long userId);	
}